package com.zhongli.devplatform.po.sys;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadTopic")
@Data
@TableName(value = "read_topic")
public class ReadTopicPO {
    /**
     * 主键标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键标识")
    private Integer id;

    /**
     * 对应知识点
     */
    @TableField(value = "knowledge_id")
    @ApiModelProperty(value="对应知识点")
    private Integer knowledgeId;

    /**
     * 题目类型
     */
    @TableField(value = "topic_type")
    @ApiModelProperty(value="题目类型 1 单选 2多选 3 填空")
    private Integer topicType;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建人")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 题目内容
     */
    @TableField(value = "comment")
    @ApiModelProperty(value="题目内容")
    private String comment;

    /**
     * 选项个数
     */
    @TableField(value = "option_num")
    @ApiModelProperty(value="选项个数")
    private Integer optionNum;

    /**
     * 备选项答案
     */
    @TableField(value = "option_answer")
    @ApiModelProperty(value="备选项答案")
    private String optionAnswer;

    /**
     * 正确答案
     */
    @TableField(value = "correct_answer")
    @ApiModelProperty(value="正确答案")
    private String correctAnswer;

    /**
     * 题目解析视频
     */
    @TableField(value = "video_id")
    @ApiModelProperty(value="题目解析视频")
    private Integer videoId;

    /**
     * 题目解析
     */
    @TableField(value = "problem_analysis")
    @ApiModelProperty(value="题目解析 ")
    private String problemAnalysis;

    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Date updateTime;

    @TableField(value = "update_user_id",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Integer updateUserId;

    @ApiModelProperty(value="题目解析视频地址")
    private String videoUrl;
}
